MMHttp.getText()

Description Retrieves the content of the document at the specified URL.
Arguments URL
The argument is an absolute URL on a web server; if the "http://" part of the URL is omitted, it is assumed.
Returns An object that represents the reply from the server. The data property of this object is a string containing the contents of the document.
Example The following code gets the content of a file on a web server and puts it in a new, untitled Dreamweaver document:
var httpReply = MMHttp.getText("http://www.dreamcentral.com/people/profiles/lori.html");
if (httpReply.statusCode == 200){
  var newDoc =  dw.createDocument();
  newDoc.documentElement.outerHTML = httpReply.data;
}